﻿using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using SolidDemo.Data.Seeded;

namespace SolidDemo.Models.Select
{
    public class PumpModel
    {
        public bool IsShowResults { get; set; }
        public int ProjectId { get; set; }

        [Required]
        [DisplayName("Is In Stock")]
        public bool IsStocked { get; set; }

        [Required]
        [DisplayName("Diameter")]
        public int DiameterMm { get; set; }

        [Required]
        [DisplayName("Min Flow Per Minute")]
        public double MinFlowLperMin { get; set; }

        [Required]
        [DisplayName("Max Flow Per Minute")]
        public double MaxFlowLPerMin { get; set; }

        public IEnumerable<Pump> Pumps { get; set; }
    }
}